package com.carrot.system.service;

import com.carrot.common.core.domain.entity.SysPointEquipment;
import com.carrot.common.mybatis.IBaseService;

import java.util.List;

/**
 * 场站 业务层
 *
 * @author liuhongzhen
 */
public interface ISysPointEquipmentService extends IBaseService<SysPointEquipment> {

    /**
     * 添加点表设备信息
     */
    void addPointEquipment(String stationId, List<SysPointEquipment> pointEquipments);

    /**
     * 新增
     */
    void add(SysPointEquipment pointEquipment);

    /**
     * 更新
     */
    void update(SysPointEquipment pointEquipment);

    /**
     * 更新点表设备信息
     * @param pointEquipment
     */
    void updatePointEquipment(SysPointEquipment pointEquipment);

    /**
     * 删除点表设备信息
     */
    void del(Long id);

    /**
     * 批量删除
     */
    void batchDel(List<Long> ids);
}
